<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="RequestTranscript.aspx.cs" Inherits="StudentPages_RequestTranscript" Title="Untitled Page" %>
<asp:Content ID="Content1" ContentPlaceHolderID="loginPlaceHolder" Runat="Server">
    <br />
    <asp:Label ID="lblTranscript" runat="server" ForeColor="Navy" Text="Enter your information to request a transcript"></asp:Label><br />
    <br />
    <asp:Label ID="lblFirstName" runat="server" Text="First Name:" Width="150"></asp:Label>
    <asp:TextBox ID="txtFirstName" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtFirstName"
        Display="Dynamic" ErrorMessage="You must enter a first name!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator1" runat="server" ControlToValidate="txtFirstName"
        Display="Dynamic" ErrorMessage="The value must be letters!" Operator="DataTypeCheck"
        Type="String"></asp:CompareValidator>
    <br />
    <br />
    <!-- Last Name -->
    <asp:Label ID="lblLastName" runat="server" Text="Last Name:" Width="150"></asp:Label>
    <asp:TextBox ID="txtLastName" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="txtLastName"
        Display="Dynamic" ErrorMessage="You must enter a last name!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator2" runat="server" ControlToValidate="txtLastName"
        Display="Dynamic" ErrorMessage="The value must be letters!" Operator="DataTypeCheck"
        Type="String"></asp:CompareValidator>
    <br />
    <br />
    <!-- Address -->
    <asp:Label ID="lblAddress" runat="server" Text="Address:" Width="150"></asp:Label>
    <asp:TextBox ID="txtAddress" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" ControlToValidate="txtAddress"
        Display="Dynamic" ErrorMessage="You must enter a address!"></asp:RequiredFieldValidator>
    <br />
    <br />
    <!-- City -->
    <asp:Label ID="lblCity" runat="server" Text="City:" Width="150"></asp:Label>
    <asp:TextBox ID="txtCity" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" ControlToValidate="txtCity"
        Display="Dynamic" ErrorMessage="You must enter a city!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator4" runat="server" ControlToValidate="txtCity"
        Display="Dynamic" ErrorMessage="The value must be letters!" Operator="DataTypeCheck"
        Type="String"></asp:CompareValidator>
    <br />
    <br />
    <!-- State -->
    <asp:Label ID="lblState" runat="server" Text="State:" Width="150"></asp:Label>
    <asp:TextBox ID="txtState" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator5" runat="server" ControlToValidate="txtState"
        Display="Dynamic" ErrorMessage="Please enter your state abbreviated!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator5" runat="server" ControlToValidate="txtState"
        Display="Dynamic" ErrorMessage="The value must be 2 letters!" Operator="DataTypeCheck"
        Type="String"></asp:CompareValidator>
    <br />
    <br />
    <!-- Zip Code -->
    <asp:Label ID="lblZipCode" runat="server" Text="Zip Code:" Width="150"></asp:Label>
    <asp:TextBox ID="txtZipCode" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator6" runat="server" ControlToValidate="txtZipCode"
        Display="Dynamic" ErrorMessage="Please enter your 5 digit zip code!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator6" runat="server" ControlToValidate="txtZipCode"
        Display="Dynamic" ErrorMessage="The value must be 5 numbers!" Operator="DataTypeCheck"
        Type="Integer"></asp:CompareValidator>
    <br />
    <br />
    <!-- Email Address -->
    <asp:Label ID="lblEmail" runat="server" Text="E-mail:" Width="150"></asp:Label>
    <asp:TextBox ID="txtEmail" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator7" runat="server" ControlToValidate="txtEmail"
        Display="Dynamic" ErrorMessage="Please enter your email address!"></asp:RequiredFieldValidator>
    <asp:RegularExpressionValidator ID="revEmail" runat="server" ControlToValidate="txtEmail"
        ErrorMessage="This is not a valid email!" ValidationExpression="^[a-zA-Z][\w\.-]*[a-zA-Z0-9]@[a-zA-Z0-9][\w\.-]*[a-zA-Z0-9]\.[a-zA-Z][a-zA-Z\.]*[a-zA-Z]$"></asp:RegularExpressionValidator><br />
    <br />
    <!-- Telephone -->
    <asp:Label ID="lblTelephone" runat="server" Text="Telephone:" Width="150"></asp:Label>
    <asp:TextBox ID="txtTelephone" runat="server" Width="150"></asp:TextBox>
    <asp:RequiredFieldValidator ID="RequiredFieldValidator9" runat="server" ControlToValidate="txtTelephone"
        Display="Dynamic" ErrorMessage="Please enter your 10 digit telephone number!"></asp:RequiredFieldValidator>
    <asp:CompareValidator ID="CompareValidator9" runat="server" ControlToValidate="txtTelephone"
        Display="Dynamic" ErrorMessage="The value must be 10 numbers, including your area code!"
        Operator="DataTypeCheck" Type="Integer"></asp:CompareValidator>
    <br />
    <br />
    <!-- Messages -->
    <asp:Label ID="lblMessages" runat="server" Text="Message:"></asp:Label><br />
    <br />
    &nbsp;
    <br />
    <br />
    <asp:Label ID="lblMessage" runat="server" ForeColor="Red"></asp:Label>
    <br />
    <br />
    <asp:Button ID="btnSubmit" runat="server" OnClick="onClick" Text="Submit" />
    &nbsp;&nbsp;
    <input id="Reset1" type="reset" value="reset" />
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
</asp:Content>

